<%@ page language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ taglib prefix="page" uri="http://www.opensymphony.com/sitemesh/page" %>
<%@ taglib prefix="decorator" uri="http://www.opensymphony.com/sitemesh/decorator" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<title><decorator:title default="ABCD-Teste"/></title>
	<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

	<style type="text/css" title="currentStyle">
		@import "includes/css/master.css";
		@import "includes/css/blitzer/jquery-ui-1.9.2.custom.css";						
		@import "includes/css/jqgrid/ui.jqgrid.css";
		#accordion{
			width:300px;
			font-size: 12px;
		}
	</style>
	
	<!-- JQUERY -->	
	<script type="text/javascript" src="includes/js/jquery-1.8.3.js"></script>
	
	<!-- JQUERY UI -->
	<script type="text/javascript" src="includes/js/jquery-ui-1.9.2.custom.js"></script>
	
	<!-- JQUERY UTIL -->
	<script type="text/javascript" src="includes/js/jquery-main-util.js"></script>
		
	<!-- JQGRID -->
	<script type="text/javascript" src="includes/js/jqgrid/jquery.jqGrid.min.js"></script>
	<script type="text/javascript" src="includes/js/jqgrid/jquery.jqGrid.default.js"></script>
	
	<!-- PLUGINS -->
	<script type="text/javascript" src="includes/js/plugin/jquery.blockUI.js"></script>
	<script type="text/javascript" src="includes/js/plugin/jquery.json-2.3.js"></script>
	<script type="text/javascript" src="includes/js/plugin/jquery.validate.js"></script>		
			
	<script language="JavaScript">
		$(
			function(){
											
				$(document).ajaxStart($.blockUI).ajaxStop($.unblockUI);
				
				$('#voltar').click(
					function(){
						$.blockUI();
						window.location.href='index.jsp';
					}
				);		
			}
		);
	</script>
	<decorator:head />
</head>
<body>
<table id="tabela_principal">
	<tr>
		<td>
			<decorator:body />			
		</td>
	</tr>
	<tr>
		<td align="center" >
			<c:forEach items="${listaBotoes}" var="botao">
			   <input id="${botao.id}" type="button" value="${botao.valor}" class="button"/>&nbsp;
			</c:forEach>
			<input id="voltar" type="button" value="Voltar" class="button"/>
		</td>
	</tr>
</table>
</body>
</html>
